/*工资条详情-头部状态view*/
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:frametrim/utility/screen.dart';
import 'package:frametrim/utility/sq_color.dart';

class SalaryDetailsStatueView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      width: Screen.width - 20,
      // margin: EdgeInsets.all(10),
      padding: EdgeInsets.all(15),
      decoration: ShapeDecoration(
          color: Colors.white,
          shape: RoundedRectangleBorder(
              borderRadius: BorderRadius.all(Radius.circular(5)))),
      child: Column(
        children: <Widget>[
          Text(
            '未确认',
            style: TextStyle(fontSize: 24, color: SQColor.black),
          ),
          SizedBox(
            height: 5,
          ),
          Row(
            crossAxisAlignment: CrossAxisAlignment.center,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Image.asset(
                'image/icon_dingling.png',
                width: 14.5,
                height: 19.5,
              ),
              SizedBox(
                width: 5,
              ),
              Text(
                '确认倒计时：48:23:41',
                style: TextStyle(fontSize: 16, color: SQColor.color_FC1616),
              ),
            ],
          ),
          SizedBox(
            height: 10,
          ),
/*在TextStyle中设置行间距 使用height*/
          Text(
            '请于2022年10月26日18:00前作出确认，超时将由劳务公司代为确认',
            style: TextStyle(
                fontSize: 16, color: SQColor.color_666666, height: 1.5),
          ),
        ],
      ),
    );
  }
}
